import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/LoanContract',
      name: 'LoanContract',
      component: () => import('../views/LoanContract.vue'),
    },
    {
      path: '/BindingCard',
      name: 'BindingCard',
      component: () => import('../views/BindingCard.vue'),
    },
    {
      path: '/Authentication',
      name: 'Authentication',
      component: () => import('../views/Authentication.vue'),
    },
    {
      path: '/StudentIdentity',
      name: 'StudentIdentity',
      component: () => import('../views/StudentIdentity.vue'),
    },
    {
      path: '/FaceVerification',
      name: 'FaceVerification',
      component: () => import('../views/FaceVerification.vue'),
    },
    {
      path: '/PersonalInformation',
      name: 'PersonalInformation',
      component: () => import('../views/PersonalInformation.vue'),
    },
    {
      path: '/CreditInvestigation',
      name: 'CreditInvestigation',
      component: () => import('../views/CreditInvestigation.vue'),
    },
    {
      path: '/Cancellation',
      name: 'Cancellation',
      component: () => import('../views/Cancellation.vue'),
    },
    {
      path: '/PrivacyPolicy',
      name: 'PrivacyPolicy',
      component: () => import('../views/PrivacyPolicy.vue'),
    },
    {
      path: '/RegistrationAgreement',
      name: 'RegistrationAgreement',
      component: () => import('../views/RegistrationAgreement.vue'),
    },
    {
      path: '/LoanSettlement',
      name: 'LoanSettlement',
      component: () => import('../views/LoanSettlement.vue'),
    },
  ],
})

export default router
